import request from 'utils/request'

export const loginApi = ({mobile,code})=> {
  return request({
    url: '/v1_0/authorizations',
    method: 'POST',
    data:{mobile,code}
  })
}


export const getUserInfoApi = ()=> {
  return request({
    url: '/v1_0/user/profile'
  })
}
